﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PlateNumber {
    public partial class VINGenForm : Form {
        public VINGenForm() {
            InitializeComponent();
        }

        private void VINGenForm_Load(object sender, EventArgs e) {
            button1.PerformClick();
        }

        private void button1_Click(object sender, EventArgs e) {
            textBox1.Text = VINGenerator.Generate();
        }

        private void button2_Click(object sender, EventArgs e) {
            Clipboard.SetDataObject(textBox1.Text);
        }

        private void button3_Click(object sender, EventArgs e) {
            Close();
        }
    }
}
